{extend name="../../admin/view/main"}

{block name="content"}
{include file='shop/goods/formstyle'}
<div class="layui-card padding-20">

<form class="layui-form" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off" enctype="multipart/form-data">
    <div class="layui-card-body padding-40 padding-bottom-20">

    <label id="Honest_manager_label" class="layui-form-item block relative">
        <span class="color-green font-w7">客服电话</span><br>

        <input class="layui-input" name="phone" placeholder="请输入客服电话" required value="{$phone|default=''}">
    </label>

    <!--<label id="Honest_manager_label1" class="layui-form-item block relative">-->
    <!--    <span class="color-green font-w7">腾讯云视频sdkAppID</span><br>-->

    <!--    <input class="layui-input" name="sdkappid" placeholder="腾讯云视频sdkAppID" required value="{$sdkappid|default=''}">-->
    <!--</label>-->

    <!--<label id="Honest_manager_label2" class="layui-form-item block relative">-->
    <!--    <span class="color-green font-w7">腾讯云视频sdkAppKey</span><br>-->

    <!--    <input class="layui-input" name="sdkappkey" placeholder="腾讯云视频sdkAppKey" required value="{$sdkappkey|default=''}">-->
    <!--</label>-->

	    <div class="layui-form-item block">
            <span class="label-required-prev font-w7 color-green">关于我们</span>
            <textarea class="layui-hide" name="aboutus">{$aboutus|default=''|raw}</textarea>
        </div>

	    <div class="layui-form-item block">
            <span class="label-required-prev font-w7 color-green">服务协议</span>
            <textarea class="layui-hide" name="agreement">{$agreement|default=''|raw}</textarea>
        </div>

	    <div class="layui-form-item block">
            <span class="label-required-prev font-w7 color-green">隐私政策</span>
            <textarea class="layui-hide" name="privacy">{$privacy|default=''|raw}</textarea>
        </div>


    <div class=" margin-top-40"></div>

    <div class="layui-form-item text-center">
        <button class="layui-btn" type="submit">保存</button>
    </div>
</div>
</form>
</div>
{/block}
{block name='script'}
<script>
/*! 表单初始化 */
    //window.form.render();
    layui.form.render();
    /*! 加载扩展插件 */
    require(['ckeditor'], function () {
        layui.form.render();
        window.createEditor('[name="aboutus"]', {height: 400});
        window.createEditor('[name="agreement"]', {height: 400});
        window.createEditor('[name="privacy"]', {height: 400});
    });
</script>
{/block}